-
Home
-
OTP Verification / Email Verification / SMS Verification / OTP Authentication / WooCommerce Notification
-
3.7.8
-
Code
-
Classes
- APIAddonMainHandler
Total Complexity |
44 |
Dependencies |
8 |
Dependents |
1 |
Total lines |
203 |
Lines of code |
140 |
Logical lines of code |
85 |
Comment lines |
21 |
Methods |
15 |
Properties |
0 |
Methods 15
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
sendAjaxOTPRequest() |
B |
41 |
19 |
50 |
validateAjaxOTPRequest() |
S |
54 |
5 |
20 |
checkIfRequestPostOrGet() |
S |
70 |
3 |
6 |
startOtpTransaction() |
S |
65 |
3 |
8 |
initializeAPI() |
S |
58 |
1 |
18 |
__construct() |
S |
63 |
2 |
10 |
handleForm() |
S |
74 |
2 |
4 |
handleFormOptions() |
S |
72 |
2 |
5 |
is_ajax_form_in_play() |
S |
82 |
1 |
3 |
updateCustomerValues() |
S |
76 |
1 |
4 |
unsetOTPSessionVariables() |
S |
79 |
1 |
3 |
handle_post_verification() |
S |
79 |
1 |
3 |
handle_failed_verification() |
S |
79 |
1 |
3 |
getPhoneNumberSelector() |
S |
91 |
1 |
2 |
isAddonEnabled() |
S |
92 |
1 |
1 |